<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/12/14
  Time: 10:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <%@include file="/template/base/baseHead.jsp" %>
</head>
<body>
<div id="app">
    <el-container>
        <el-header>
            <%@include file="/template/admin/adminNavTemplate.jsp" %>
        </el-header>
        <el-main>
            <c:set var="managerUsers" value="managerUsers" scope="page"/>
            <c:set var="managerCreditCard" value="managerCreditCard" scope="page"/>
            <c:set var="manageBank" value="manageBank" scope="page"/>
            <c:choose>
                <c:when test="${param.index==managerUsers}">
                    <%--用户管理--%>
                    <%@include file="/template/admin/core/adminManagerUsersTemplate.jsp" %>
                </c:when>
                <c:when test="${param.index==managerCreditCard}">
                    <%--信用卡管理--%>
                    <%@include file="/template/admin/core/adminCreditCardTemplate.jsp" %>
                </c:when>
                <c:when test="${param.index==manageBank}">
                    <%--银行名称管理--%>
                    <%@include file="/template/admin/core/adminBankTemplate.jsp" %>
                </c:when>
                <c:otherwise>
                    <%@include file="/template/admin/core/adminSiteSettingTemplate.jsp" %>
                </c:otherwise>
            </c:choose>
        </el-main>
        <el-footer>
            <%@include file="/template/admin/adminFooterTemplate.jsp" %>
        </el-footer>
    </el-container>
</div>
<script src="${pageContext.request.contextPath}/js/admin/index.js"></script>
</body>
</html>
